package ch.jamme.exception;

/**
 * This exception is thrown when a generic problem happens during the unmarshall process
 * @author Mario Fusco
 */
public class UnmarshallException extends JammeException {

	private static final long serialVersionUID = 1L;
	
	public UnmarshallException(String message) {
		super(message);
	}
	
	public UnmarshallException(String message, Throwable cause) {
		super(message, cause);
	}
	
	public UnmarshallException(Throwable cause) {
		super("Unmarshall error caused by " + cause.getLocalizedMessage(), cause);
	}
}
